{extend name="index_base" /} {block name="seo"}
<title>{$category['name']} - {$site_config['site_title']}</title>
<meta name="keywords" content="{$site_config['seo_keyword']}">
<meta name="description" content="{$site_config['seo_description']}"> {/block}
{block name="css"}
<link rel="stylesheet" href="__HOME__/css/list.css">
{/block}
{block name="body"}
<article class="content-true">
  <section class="container layui-clear">
    <div class="index-container layui-clear">

      <div class="list-container">
        {if $count}
        <!-- 内容列表 -->
        <div>
          <ul class="list-ul">
            {volist name='articles' id="vo"}
            <li class="layui-clear">
              <a href="/html/{$vo.id}.html" target="_blank" class="list-img">
                <img src="{$vo.cover_img}" onerror="this.src='__HOME__/images/no-img1.png';this.setAttribute('style','max-width:100%;')" />
              </a>
              <div class="list-info">
                <a class="soft-title" href="/html/{$vo.id}.html" target="_blank"><i class="rj" >{:$vo['has_attachment']?'软件':'文章'}</i>{$vo.title}</a>
                <div class="list-ca">
                  发布时间：{$vo.publish_time}<i class="jd"></i> 投稿作者：{$vo.nickname}						<i class="jd"></i> 围观人数：{$vo.total_view}						<i class="jd"></i> 点赞：{$vo.praise_num}次
                </div>
                <div class="list-intro">{$vo.description}</div>
                <div class="list-btn layui-clear">
                  <a href="/html/{$vo.id}.html" target="_blank">立即查看</a>
                </div>
              </div>
            </li>
            {/volist}
          </ul>

          <div style="text-align: center;">
            <div class="page">
              {$articles->render()}
            </div>
          </div>

        </div>
        {else /}
        <div class="no-data">
          <i class="iconfont icon-zanwushuju"></i>
          <span>暂时没有找到您想要的内容！</span>
          <a href="/">回到首页</a>
        </div>
        {/if}
      </div>
    </div>
  </section>
</article>
{/block}
{block name="js"}
{/block}